<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Job Search</title>

<link rel="stylesheet"
	href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css">

</head>
<body>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
	
	<table class="table table-striped" align="center"width="600"border="0">
		<tr>
			<td align="center"colspan="5">
			<h2>All the information of applying</h2>
			</td>
		</tr>
		<tr>
			<td><b>name</b></td>
			<td><b>phoneNumber</b></td>
			<td><b>mail</b></td>
			<td><b>education</b></td>
			<td><b>self introduction</b></td>
		</tr>
		
		<c:forEach var="employerMessage" items="${employerMessages}">
		
		<tr>
			<td>
			${employerMessage.name}
			</td>
			<td>
			${employerMessage.phonenumber}
			</td>
			<td>
			${employerMessage.mail}
			</td>
			<td>
			${employerMessage.education}
			</td>
			<td>
			${employerMessage.introduction}
			</td>
			<td>		
			<a href="Hire?employeeUsername=${employerMessage.employeeUsername}"><button
						class="btn btn-success">Hire</button></a>
			</td>
		</tr>
		
		</c:forEach>
	</table>
</body>
</html>